﻿<Application
    x:Class="wToggl.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    RequestedTheme="Light">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.ThemeDictionaries>
                <ResourceDictionary
                    x:Key="Light">
                    <SolidColorBrush
                        x:Key="ShapeForeground"
                        Color="Black" />
                </ResourceDictionary>
                <ResourceDictionary
                    x:Key="Default">
                    <SolidColorBrush
                        x:Key="ShapeForeground"
                        Color="White" />
                </ResourceDictionary>
            </ResourceDictionary.ThemeDictionaries>
            
            <SolidColorBrush x:Key="TranparentBlackBrush" Opacity="0.9" Color="Black"/>
            <Style TargetType="Button" x:Key="PrimaryButton">
                <Style.Setters>
                    <Setter Property="Foreground" Value="White"/>
                    <Setter Property="FontWeight" Value="Bold" />
                    <Setter Property="Height" Value="60"/>
                    <Setter Property="BorderBrush" Value="Transparent"/>
                    <Setter Property="Background">
                        <Setter.Value>
                            <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                <GradientStop Color="#8DCC35" Offset="0.0" />
                                <GradientStop Color="#47A204" Offset="1.0" />
                            </LinearGradientBrush>
                        </Setter.Value>
                    </Setter>
                </Style.Setters>
            </Style>

            <Style TargetType="Button" x:Key="StopButton">
                <Style.Setters>
                    <Setter Property="Foreground" Value="White"/>
                    <Setter Property="FontWeight" Value="Bold" />
                    <Setter Property="Height" Value="60"/>
                    <Setter Property="BorderBrush" Value="Transparent"/>
                    <Setter Property="Background">
                        <Setter.Value>
                            <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                <GradientStop Color="IndianRed" Offset="0.0" />
                                <GradientStop Color="Red" Offset="1.0" />
                            </LinearGradientBrush>
                        </Setter.Value>
                    </Setter>
                </Style.Setters>
            </Style>

            <Style TargetType="Button" x:Key="SecondaryButton">
                <Style.Setters>
                    <Setter Property="Foreground" Value="#6BD017"/>
                    <Setter Property="FontWeight" Value="Thin" />
                    <Setter Property="Height" Value="60"/>
                    <Setter Property="BorderBrush" Value="Transparent"/>
                    <Setter Property="Background" Value="#181818"/>
                </Style.Setters>
            </Style>

            <Style TargetType="ButtonBase" x:Key="StandardButton">
                <Style.Setters>
                    <Setter Property="Foreground" Value="White"/>
                    <Setter Property="BorderBrush" Value="Transparent"/>
                    <Setter Property="Background">
                        <Setter.Value>
                            <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                <GradientStop Color="White" Offset="0.0" />
                                <GradientStop Color="LightGray" Offset="1.0" />
                            </LinearGradientBrush>
                        </Setter.Value>
                    </Setter>
                </Style.Setters>
            </Style>

            <Style TargetType="TextBlock" x:Key="SecondaryButtonText">
                <Style.Setters>
                    <Setter Property="Foreground" Value="#6BD017"/>
                    <Setter Property="FontWeight" Value="Thin" />
                    <Setter Property="FontStretch" Value="Expanded"/>
                    <Setter Property="VerticalAlignment" Value="Center"/>
                </Style.Setters>
            </Style>

            <Style TargetType="TextBlock" x:Key="PrimaryButtonText">
                <Style.Setters>
                    <Setter Property="Foreground" Value="White"/>
                    <Setter Property="FontWeight" Value="Bold" />
                    <Setter Property="FontStretch" Value="Expanded"/>
                    <Setter Property="VerticalAlignment" Value="Center"/>
                </Style.Setters>
            </Style>

            <Style TargetType="TextBox">
                <Setter Property="BorderThickness" Value="1"/>
                <Setter Property="BorderBrush" Value="Silver"/>
            </Style>

            <Style TargetType="ComboBox">
                <Setter Property="BorderThickness" Value="1"/>
                <Setter Property="BorderBrush" Value="Silver"/>
            </Style>

            <Style TargetType="ComboBoxItem">
                <Setter Property="FontWeight" Value="Bold"/>
            </Style>
            
            <Style TargetType="TextBlock" x:Key="TimeEntrySubitem">
                <Setter  Property="FontSize" Value="16"/>
            </Style>

            
            <SolidColorBrush
                x:Key="AccentBrush"
                Color="#FF00A000" />
        </ResourceDictionary>

    </Application.Resources>
</Application>
